package com.marvels.product.param.dao;

import java.util.List;
import java.util.Map;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptLateFeeDTO;
import com.marvels.product.param.dto.McptProduct;

public interface McptLateFeeMapper {


    int deleteByPrimaryKey(McptLateFeeDTO record);

    int insert(McptLateFeeDTO record);

    McptLateFeeDTO selectByPrimaryKey(Long lateFeeId);

    int updateByPrimaryKey(McptLateFeeDTO record);

	List<McptLateFeeDTO> getListByParam(Map<String, Object> param);

	int updateStatus(McptLateFeeDTO dto);
	
	/**根据小类code查询咨询费
	 * @author 娄凯琦
	 * @date 2018年5月8日  
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public McptLateFeeDTO selectLateFeeByLateFeeCode(McptProduct dto) throws MarvelsBusinessException;
}